package com.wyix.service.impl;

import com.wyix.dao.UserDao;
import com.wyix.model.User;
import com.wyix.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wangdx
 * @since 2025/8/8
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User getUserByUsername(String username) {
        return userDao.findUserByUsername(username);
    }
}
